//
//  UIColor+RGBColor.m
//  LocalGoods
//
//  Created by Feihong Ye on 2018/9/28.
//  Copyright © 2018年 Xiaodong Huang. All rights reserved.
//

#import "UIColor+RGBColor.h"

@implementation UIColor (RGBColor)

+ (UIColor *)colorFromRed:(CGFloat)r green:(CGFloat)g bule:(CGFloat)b {
    UIColor *color = [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1];
    
    return color;
}

@end
